home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / Arkanoid Flash.swf / scripts / frame_38 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  592 b   |  32 lines

  1. if(power_up ne "expand")
  2. {
  3.    if(expanded == "1")
  4.    {
  5.       expanded = "0";
  6.       setProperty("/bat", _xscale, "75");
  7.       batWidth = "60";
  8.       stopDrag();
  9.       startDrag("/bat","1","40","400","380","400");
  10.    }
  11. }
  12. if(power_up ne "shrink")
  13. {
  14.    if(shrunken == "1")
  15.    {
  16.       shrunken = "0";
  17.       setProperty("/bat", _xscale, "75");
  18.       batWidth = "60";
  19.       stopDrag();
  20.       startDrag("/bat","1","40","400","380","400");
  21.    }
  22. }
  23. if(power_up ne "catch")
  24. {
  25.    if(caught == "1")
  26.    {
  27.       button = "0";
  28.       caught = "0";
  29.       release = "True";
  30.    }
  31. }
  32.